package com.shunda.trade.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 用户信息表(TradeProfitFlow)实体类
 *
 * @author makejava
 * @since 2025-03-13 21:36:53
 */
public class TradeProfitFlow implements Serializable {
    private static final long serialVersionUID = -16999024935161510L;
/**
     * 分润流水ID
     */
    private Long profitId;
/**
     * 订单ID
     */
    private Long orderId;
/**
     * 分润总金额（元）
     */
    private Double profitAmount;
/**
     * 非用户分润金额（元）（35%）
     */
    private Double orderProfitAmount;
/**
     * 非用户分润ID
     */
    private Long orderProfitId;
/**
     * 用户分润金额（元）（65%）
     */
    private Double userProfitAmount;
/**
     * 操作时间
     */
    private Date date;
/**
     * 交易类型（1：收入，2：结余）
     */
    private String type;
/**
     * 交易描述
     */
    private String description;


    public Long getProfitId() {
        return profitId;
    }

    public void setProfitId(Long profitId) {
        this.profitId = profitId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Double getProfitAmount() {
        return profitAmount;
    }

    public void setProfitAmount(Double profitAmount) {
        this.profitAmount = profitAmount;
    }

    public Double getOrderProfitAmount() {
        return orderProfitAmount;
    }

    public void setOrderProfitAmount(Double orderProfitAmount) {
        this.orderProfitAmount = orderProfitAmount;
    }

    public Long getOrderProfitId() {
        return orderProfitId;
    }

    public void setOrderProfitId(Long orderProfitId) {
        this.orderProfitId = orderProfitId;
    }

    public Double getUserProfitAmount() {
        return userProfitAmount;
    }

    public void setUserProfitAmount(Double userProfitAmount) {
        this.userProfitAmount = userProfitAmount;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}

